package com.jmp.api.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Builder;
import lombok.Data;

import java.math.BigDecimal;
import java.util.List;

@Data
@Builder
public class LiveGoodsApiResponse {

    @ApiModelProperty(value = "商品ID", dataType = "LiveGoodsApiResponse.Goods")
    private List<Goods> goodsList;

    @ApiModel("LiveGoodsApiResponse.Goods")
    @Data
    @Builder
    public static class Goods {
        @ApiModelProperty("直播商品ID")
        private Integer roomGoodsId;
        @ApiModelProperty("商品ID")
        private Integer goodsId;
        @ApiModelProperty("商品图片")
        private String photo;
        @ApiModelProperty("商品名称")
        private String name;
        @ApiModelProperty("商品价格")
        private BigDecimal price;
        @ApiModelProperty("状态:0下架 1上架")
        private Integer status;
    }
}
